/*
 * @Author: chentao 294446993@qq.com
 * @Date: 2022-12-07 10:56:09
 * @LastEditors: chentao 294446993@qq.com
 * @LastEditTime: 2023-01-17 10:47:51
 * @FilePath: \vue3-pc-app\src\main.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { createApp } from 'vue'
import ElementPlus from "element-plus";
//引入vue-router
import 'element-plus/dist/index.css'
import "@imengyu/vue3-context-menu/lib/vue3-context-menu.css";
import * as ElementPlusIconsVue from "@element-plus/icons-vue";
import 'viewerjs/dist/viewer.css'
import VueViewer from 'v-viewer'
import App from './App.vue'
import Store from './store'
import i18n from "./i18n/i18n";
import Router from './config/Router'

const app = createApp(App)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component);
}

//app.use(i18n);
app.use(Store)
app.use(VueViewer)
app.use(ElementPlus)
app.use(Router)
app.mount('#app')
